/**
 * 
 * @param {*} text 需要复制粘贴的文本
 * @returns 
 */
const clipboard = (text) => navigator.clipboard?.writeText && navigator.clipboard.writeText(text)


export default clipboard